package com.epoint.bookmanagement.bizlogic.bookinfo.domain;

/**
 * BookInfo实体类
 * @author 致
 *
 */
public class BookInfo {
	/**
	 * 图书编号
	 */
	private String bookId;
	/**
	 * 图书名称
	 */
	private String bookName;
	/**
	 * 出版社
	 */
	private String publisher;
	/**
	 * 作者
	 */
	private String author;
	/**
	 * 图书类别
	 */
	private Integer bookType;
	/**
	 * 剩余数量
	 */
	private Integer remain;
	
	
	public BookInfo() {
		super();
	}
	public BookInfo(String bookId, String bookName, String publisher, String author, Integer bookType, Integer remain) {
		super();
		this.bookId = bookId;
		this.bookName = bookName;
		this.publisher = publisher;
		this.author = author;
		this.bookType = bookType;
		this.remain = remain;
	}
	public String getBookId() {
		return bookId;
	}
	public void setBookId(String bookId) {
		this.bookId = bookId;
	}
	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	public String getPublisher() {
		return publisher;
	}
	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public Integer getBookType() {
		return bookType;
	}
	public void setBookType(Integer bookType) {
		this.bookType = bookType;
	}
	public Integer getRemain() {
		return remain;
	}
	public void setRemain(Integer remain) {
		this.remain = remain;
	}
	@Override
	public String toString() {
		return "BookInfo [bookId=" + bookId + ", bookName=" + bookName + ", publisher=" + publisher + ", author="
				+ author + ", bookType=" + bookType + ", remain=" + remain + "]";
	}
	
	
	
	
	
}
